package com.malie.myspringboot.thread.createThread;

import org.junit.Test;

public class TestDemo {
    @Test
    public void test1() throws Exception {
        RunnableThread runnableThread = new RunnableThread();
        runnableThread.run();
        CallableTask callableTask = new CallableTask();
        System.out.println(callableTask.call());
        ExtendsThread extendsThread = new ExtendsThread();
        extendsThread.start();
    }
}
